package com.ambulance.project.manager.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ambulance.framework.aspectj.lang.annotation.Excel;
import com.ambulance.framework.web.domain.BaseEntity;

/**
 * 外援对象 biz_hospital
 *
 * @author zr
 * @date 2020-05-12
 *
 */
public class BizHospital
{
    private static final long serialVersionUID = 1L;

    /** 医院标识 */
    private Long hospitalID;

    /** 医院名称 */
    @Excel(name = "医院名称")
    private String hospitalName;

    /** 科室 */
    @Excel(name = "科室")
    private String depart;

    /** 会诊账号 */
    @Excel(name = "会诊账号")
    private String treatAccount;

    /** 联系人 */
    @Excel(name = "联系人")
    private String relationName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String relationPhone;

    /** 医院编号 */
    private Long uid;

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    /** 医院状态 **/
    private Long status;
    /** 密码 */
    @Excel(name = "密码")
    @JsonIgnore
    private String passwd;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * 类型:1=医院,2=科室
     */
    private Integer type;

    public void setHospitalID(Long hospitalID)
    {
        this.hospitalID = hospitalID;
    }

    public Long getHospitalID()
    {
        return hospitalID;
    }
    public void setHospitalName(String hospitalName)
    {
        this.hospitalName = hospitalName;
    }

    public String getHospitalName()
    {
        return hospitalName;
    }
    public void setDepart(String depart)
    {
        this.depart = depart;
    }

    public String getDepart()
    {
        return depart;
    }
    public void setTreatAccount(String treatAccount)
    {
        this.treatAccount = treatAccount;
    }

    public String getTreatAccount()
    {
        return treatAccount;
    }
    public void setRelationName(String relationName)
    {
        this.relationName = relationName;
    }

    public String getRelationName()
    {
        return relationName;
    }
    public void setRelationPhone(String relationPhone)
    {
        this.relationPhone = relationPhone;
    }

    public String getRelationPhone()
    {
        return relationPhone;
    }
    public void setUid(Long uid)
    {
        this.uid = uid;
    }

    public Long getUid()
    {
        return uid;
    }
    public void setPasswd(String passwd)
    {
        this.passwd = passwd;
    }

    public String getPasswd()
    {
        return passwd;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("hospitalID", getHospitalID())
            .append("hospitalName", getHospitalName())
            .append("depart", getDepart())
            .append("treatAccount", getTreatAccount())
            .append("relationName", getRelationName())
            .append("relationPhone", getRelationPhone())
            .append("uid", getUid())
            .append("passwd", getPasswd())
            .toString();
    }
}
